package hcn.protocol.brandnew.dengji.jianchayuyue;

import lombok.Data;
import javax.xml.bind.annotation.*;
import java.util.List;
import hcn.protocol.brandnew.BaseRequest;


/**
 * 预约单打印通知-请求消息 - ODS_02070007
 *
 * @author enjoyLife
 */
@Data
@XmlRootElement(name = "MsgBody")
@XmlAccessorType(XmlAccessType.FIELD)
public class QueryAppointItemRequest extends BaseRequest {

    /**
     * 患者信息
     */
    @XmlElement(name = "Patient")
    private Patient patient;

    @Data
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class Patient {

        /**
         * 机构代码
         */
        @XmlElement(name = "Organization")
        private String organization;
        /**
         * 查询代码
         */
        @XmlElement(name = "QueryCode")
        private String queryCode;
        /**
         * 查询方式
         */
        @XmlElement(name = "QueryType")
        private String queryType;
        /**
         * 患者类型
         */
        @XmlElement(name = "PatientType")
        private String patientType;
        /**
         * 查询科室
         */
        @XmlElement(name = "QueryDept")
        private String queryDept;
        /**
         * 紧急标志
         */
        @XmlElement(name = "isEmergency")
        private String isEmergency;
        /**
         * 预约状态码
         */
        @XmlElement(name = "AppointStatus")
        private String appointStatus;

    }

}
